<?php


namespace app\model;

use think\Model;

class Banner extends Model
{
    protected $name = 'banner';

    public function getImageAttr($value)
    {
        return $value ? env('IMAGE_URL') . $value : '';
    }
}
